package liangtWorkSpace.proxy.subject.dog;

/**
 * @ClassName StudentMain
 * @Description : 功能说明
 * @Author : LiangT
 * @Date : 2020/4/8 21:22
 */
public class StudentMain {

    public static void main(String[] args) {
        ProxyStudent proxyStudent = new ProxyStudent(new Student("李磊"));
        proxyStudent.giveHack();
        proxyStudent.SAY(()->{
            System.out.println("我就是想唱歌！");
        });
    }
}
